//
//  UIView+Shadow.h
//  Arts1
//
//  Created by apple on 15/8/29.
//  Copyright (c) 2015年 Arts1. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Shadow)

+ (void)viewShadowColor:(UIView *)view;

// 设置宽阴影
+ (void)viewWideForShadowColor:(UIView *)view;


// 设置左侧两个角为圆角
+ (void)viewRediusForTopAndBottomForLeft:(UIView *)view withRedius:(NSInteger)r;

// 设置底部两个角为圆角
+ (void)viewRediusForLeftAndReightOfBottom:(UIView *)view withRedius:(NSInteger)r;

// 设置头部两个角为圆角
+ (void)viewRediusForLeftAndReightOfTop:(UIView *)view withRedius:(NSInteger)r;

// 给视图添加模糊效果
+ (void)viewOfBlurEffect:(UIView *)view withAlpha:(CGFloat)alpha;

//  获取屏幕截图
+ (UIImage *)imageFromView: (UIView *) theView;
- (UIImage *) screenShotFromView:(UIView *)view;

@end
